﻿$(function () {
    $("#userpanel-menulist > li:eq(2)").addClass("sel");
    layui.use(["table", "element"], function () {
        var element = layui.element,
            table = layui.table;
        table.init('dtb-all', {
            limit: 10,
            limits:[10,20,30],
            page: true
        });
        table.on("tool(dtb-all)", function (obj) {
            var event = obj.event;
            var rhid = obj.data.rhid;
            if (event == "lokrobs") {
                Tools.showRobnums(rhid);
            }
        });
    });

    $(".myygbx .layui-tab-title li").on("click", function () {
        $(this).removeClass("has");
    })
});